package com.shengqin.pojo.summary;

import lombok.Data;

import java.math.BigDecimal;
import java.util.Collection;
import java.util.List;

@Data
public class SummaryModel {
    private String id;
    private String parentId;
    /**
     * 统计数据的key
     * 按年级的话该字段为年级
     * 按项目的话该字段为项目
     */
    private String dataKey;
    /**
     * 实测人数
     */
    private Integer testCount = 0;
    private Integer femaleTestCount = 0;
    private Integer maleTestCount = 0;
    /**
     * 总人数
     */
    private Integer totalCount = 0;
    private Integer femaleTotalCount = 0;
    private Integer maleTotalCount = 0;
    /**
     * 免考人数
     */
    private Integer freeTestCount = 0;
    private Integer femaleFreeTestCount = 0;
    private Integer maleFreeTestCount = 0;

    /**
     * 缺考人数
     */
    private Integer missExamCount = 0;
    private Integer missExamFemaleCount = 0;
    private Integer missExamMaleCount = 0;

    private BigDecimal freeTestRate = new BigDecimal("0");

    /**
     * 优秀率
     */
    private BigDecimal bestRate = new BigDecimal("0");
    /**
     * 良好率
     */
    private BigDecimal wellRate = new BigDecimal("0");
    /**
     * 及格率
     */
    private BigDecimal passRate = new BigDecimal("0");
    /**
     * 不及格率
     */
    private BigDecimal noPassRate = new BigDecimal("0");

    /**
     * 优秀率
     */
    private Integer bestCount = 0;
    private Integer femaleBestCount = 0;
    private Integer maleBestCount = 0;
    /**
     * 良好率
     */
    private Integer wellCount = 0;
    private Integer femaleWellCount = 0;
    private Integer maleWellCount = 0;
    /**
     * 及格率
     */
    private Integer passCount = 0;
    private Integer femalePassCount = 0;
    private Integer malePassCount = 0;
    /**
     * 不及格率
     */
    private Integer noPassCount = 0;
    private Integer femaleNoPassCount = 0;
    private Integer maleNoPassCount = 0;

    /**
     * 合格率
     */
    private BigDecimal qualifiedRate = new BigDecimal("0");
    /**
     * 项目code
     */
    private String prjCode;

    private Collection<SummaryModel> classesSummaryList;
}
